package com.mkz.jbpm.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 请假信息
 *
 * @author KuangJianyu
 * @date 2020-03-31 14:27:15
 */
@Data
@TableName("leave_info")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "请假信息")
public class LeaveInfo extends Model<LeaveInfo> {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	@ApiModelProperty(value = "主键")
	private Long id;
	/**
	 * 请假人主键
	 */
	@ApiModelProperty(value = "请假人主键")
	private Long leaveId;
	/**
	 * 请假人姓名
	 */
	@ApiModelProperty(value = "请假人姓名")
	private String leaveName;
	/**
	 * 请假原因
	 */
	@ApiModelProperty(value = "请假原因")
	private String leaveMark;
	/**
	 * 请假开始日期
	 */
	@ApiModelProperty(value = "请假开始日期")
	private LocalDateTime startDate;
	/**
	 * 当前状态请假开始日期
	 */
	@ApiModelProperty(value = "当前状态请假开始日期")
	private String nowStatus;
	/**
	 * 请假结束日期
	 */
	@ApiModelProperty(value = "请假结束日期")
	private LocalDateTime endDate;
	/**
	 * 流程实例主键
	 */
	@ApiModelProperty(value = "流程实例主键")
	private String procInstId;
}
